package com.bojx.report.pojo;
/**
 * 
 * @author syh
 *
 * @param <T>
 * http请求返回的最外层对象
 */
public class Result<T> {

	private String code;//错误码
	private String message;//提示信息
	private T data;//具体内容
	
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public T getData() {
		return data;
	}
	public void setData(T data) {
		this.data = data;
	}
	
	@Override
	public String toString() {
		return "Result [code=" + code + ", message=" + message + ", data=" + data + "]";
	}
	
	
	
}
